public class Test {
    public static void main(String[] args) {
        Integer a = 100;
        Integer b = 100;
        System.out.println(a == b);

        Integer a1 = 200;
        Integer b1 = 200;
        System.out.println(a1 == b1);
    }
    public static void main2(String[] args) {
        Integer a= 10;//装箱
        int i = a;    //拆箱
        System.out.println(i);

        int aa = a.intValue();//显示拆箱
    }
    public static void main1(String[] args) {
        Integer a = 10;//装包  自动装箱

        int i = 99;
        Integer b = i;//也叫装包

        //基本类型转换为 包装类型

        System.out.println(a);
        System.out.println(b);

        Integer aa = Integer.valueOf(10);//显示装箱
    }
}
